InspectorDomain

class InspectorDomain : Domain

InspectorDomain represents Inspector protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

description
Link copied to clipboard
fun description(): String
Returns domain description.
detached
Link copied to clipboard
fun detached(): Flowable<DetachedEvent>
Fired when remote debugging connection is about to be terminated.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables inspector domain notifications.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables inspector domain notifications.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.
targetCrashed
Link copied to clipboard
fun targetCrashed(): Flowable<RawEvent>
Fired when debugging target has crashed
targetReloadedAfterCrash
Link copied to clipboard
fun targetReloadedAfterCrash(): Flowable<RawEvent>
Fired when debugging target has reloaded after crash

Sources

jvm source
Link copied to clipboard